import Mock from 'mockjs';

var list = Mock.mock({
  'data|5-8': [
    {
      "pid":0,
      "name":"@cname()",
      "time":"@time()",
      "title":"@ctitle()",
      'pp':"@csentence(12,20)",
      "img":"@dataImage('160x160','#fb0a2a')",
      "pimg":"@dataImage('100x100','#0ff')"
    }
  ]
})

Mock.mock('http://www.baidu.com/api',list)

